package com.ruoyi.web.xxj.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("支付流水信息表")
public class PaymentInfo extends BaseEntity {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty("支付流水信息主键ID")
    private Long id;

    /**
     * 对外业务编号
     */
    @ApiModelProperty("对外业务编号")
    @Excel(name = "对外业务编号")
    private String outTradeNo;

    /**
     * 课程订单主键ID
     */
    @ApiModelProperty("课程订单主键ID")
    @Excel(name = "课程订单主键ID")
    private Long classOrderId;

    /**
     * 文创订单主键ID
     */
    @ApiModelProperty("文创订单主键ID集合")
    @Excel(name = "文创订单主键ID集合")
    private String productOrderIds;

    /**
     * 用户编号
     */
    @ApiModelProperty("用户编号")
    @Excel(name = "用户编号")
    private Long wechatUserid;

    /**
     * 微信交易流水编号
     */
    @ApiModelProperty("微信交易流水编号")
    @Excel(name = "微信交易流水编号")
    private String wxpayTradeNo;

    /**
     * 支付金额
     */
    @Excel(name = "支付金额")
    private BigDecimal totalAmount;

    /**
     * 交易内容
     */
    @Excel(name = "交易内容")
    private String subject;

    /**
     * 支付方式
     */
    @Excel(name = "支付方式")
    private String paymentType;

    /**
     * 支付时间
     */
    @Excel(name = "支付时间")
    private String paymentTime;


}
